package com.demo.common.core.domain;

import lombok.Data;

import java.util.Set;

/**
 * @author MyPC
 */
@Data
public class LoginUser {

    private Long userId;

    private String ak;

    private Long loginTime;

    private Long expireTime;

    private String ipAddr;

    /**
     * 权限列表
     */
    private Set<String> permissions;

    /**
     * 角色列表
     */
    private Set<String> roles;

    /**
     * 用户信息
     */
    private SysUserBo sysUserBo;
}
